//
//  AnimationHandle.m
//  YiLiao
//
//  Created by mac on 16/7/1.
//  Copyright © 2016年 Noah. All rights reserved.
//

#import "AnimationHandle.h"

@implementation AnimationHandle
+ (void)jumpNextViewControll:(UIViewController *)viewControll
{
    UIWindow *window = [UIApplication sharedApplication].delegate.window;
    UINavigationController *nav = [[UINavigationController alloc] initWithRootViewController:viewControll];
    window.rootViewController = nav;
    [UIView transitionWithView:window duration:1 options:UIViewAnimationOptionTransitionCurlUp animations:nil completion:nil];
}
@end
